#include <stdio.h>

int main(int argc, char *argv[]) {

  int i, count;
  long long a, b, c;
  scanf("%d", &count);

  for (i = 1; i <= count; i++) {
    scanf("%lld %lld %lld", &a, &b, &c);
    if (a + b > c)
      printf("Case #%d: true\n", i);
    else
      printf("Case #%d: false\n", i);
  }

  return 0;
}
